package com.kaiwukj.android.ufamily.mvp.ui.page.dynamic.topic;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.kaiwukj.android.ufamily.R;
import com.kaiwukj.android.ufamily.mvp.http.entity.result.TopicResult;

import org.jetbrains.annotations.NotNull;

import java.util.ArrayList;

public class TopicPickAdapter extends BaseQuickAdapter<TopicResult, BaseViewHolder> {
    public TopicPickAdapter() {
        super(R.layout.item_topic, new ArrayList<>());
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, TopicResult result) {
        baseViewHolder.setText(R.id.tv_title, result.getTopicTitle());
    }
}
